<template>
  <div class="goods">
    <seckill></seckill>
    <phone></phone>
    <appliance></appliance>
  </div>
</template>

<script>
import Seckill from "./Goods/Seckill";
import Phone from "./Goods/Phone";
import Appliance from "./Goods/Appliance";
export default {
  components: {
    Seckill,
    Phone,
    Appliance,
  },
  name: "",
  data() {
    return {};
  },
  mounted(){
    // 此方法用于验证$children
    this.$children[0].printDD()
  },
  methods:{
    // 此方法用于验证$parent
    printCC(){
      console.log("cc")
    }
  }
};
</script>

<style scoped>
</style>